import 'package:flutter/cupertino.dart';
import 'package:shouyin_app/common/base/base_get_controller.dart';
import 'package:shouyin_app/common/utils/utils.dart';
import 'package:wechat_assets_picker/wechat_assets_picker.dart';

class DemoController extends BaseGetController {

  void checkPermission(BuildContext context) async{
    bool isApply = await PermissionUtils.applyPhotos();
    LogUtils.GGQ('权限申请${isApply}');
    if(isApply) {
      final List<AssetEntity>? result = await AssetPicker.pickAssets(context);
    }
  }



}